package com.zn.web.vo;

/**
 * Created by LG on 2018/8/16.
 * 成交记录
 */
public class DealRecordVo {

    /**订单ID**/
    private String id;

    /**本地报单引用**/
    private String orderRef;

    /**用户ID**/
    private String customerId;

    /**合约ID**/
    private String instrumentCode;

    /**合约名称**/
    private String instrumentName;

    /**开平标识**/
    private String offsetFlag;

    /**购买方向**/
    private String direction;

    /**总市值 用于计算持仓均价**/
    private Double sumMarkeValue;

    /**总仓**/
    private Double sumVolume;

    /**总手续费**/
    private Double sumSxf;

    /**总平仓盈亏**/
    private Double closeProfitLoss;

    /**成交时间（成交记录查询时为createTime字段替代）**/
    private String tradeTime;

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getOrderRef() {
        return orderRef;
    }

    public void setOrderRef(String orderRef) {
        this.orderRef = orderRef;
    }

    public String getCustomerId() {
        return customerId;
    }

    public void setCustomerId(String customerId) {
        this.customerId = customerId;
    }

    public String getInstrumentCode() {
        return instrumentCode;
    }

    public void setInstrumentCode(String instrumentCode) {
        this.instrumentCode = instrumentCode;
    }

    public String getInstrumentName() {
        return instrumentName;
    }

    public void setInstrumentName(String instrumentName) {
        this.instrumentName = instrumentName;
    }

    public String getOffsetFlag() {
        return offsetFlag;
    }

    public void setOffsetFlag(String offsetFlag) {
        this.offsetFlag = offsetFlag;
    }

    public String getDirection() {
        return direction;
    }

    public void setDirection(String direction) {
        this.direction = direction;
    }

    public Double getSumMarkeValue() {
        return sumMarkeValue;
    }

    public void setSumMarkeValue(Double sumMarkeValue) {
        this.sumMarkeValue = sumMarkeValue;
    }

    public Double getSumVolume() {
        return sumVolume;
    }

    public void setSumVolume(Double sumVolume) {
        this.sumVolume = sumVolume;
    }

    public Double getSumSxf() {
        return sumSxf;
    }

    public void setSumSxf(Double sumSxf) {
        this.sumSxf = sumSxf;
    }

    public Double getCloseProfitLoss() {
        return closeProfitLoss;
    }

    public void setCloseProfitLoss(Double closeProfitLoss) {
        this.closeProfitLoss = closeProfitLoss;
    }

    public String getTradeTime() {
        return tradeTime;
    }

    public void setTradeTime(String tradeTime) {
        this.tradeTime = tradeTime;
    }
}
